<template>
    <div id="my_land"></div>
</template>

<script>
export default {
  name: 'Index',
  data () {
    return {
      fmap: {}
    }
  },
  methods: {},
  mounted () {
    this.fmap = new fengmap.FMMap({
      appName: '我的地盘',
      key: 'f7625e85a2c4ade98fe762290528e5ac',
      mapID: '90870',
      container: document.getElementById('my_land'),
      mapURL: '/static/data/',
      themeURL: '/static/data/theme',
      themeID: '4010',
      // 离线加载
      tile: false
    })
  }
}
</script>

<style lang="less">
#my_land {
  width: 100%;
  height: 800px;
  margin: 10px auto;
  position: relative;
}
</style>
